package test.action;

import com.opensymphony.xwork2.ActionSupport;
import test.model.MessageStore;

/**
 * @author CoderXshuai
 */
public class HelloWorldAction extends ActionSupport {
    private MessageStore messageStore;

    @Override
    public String execute() throws Exception {
        messageStore = new MessageStore();
        return SUCCESS;
    }

    public MessageStore getMessageStore() {
        return messageStore;
    }
}
